home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / bc.postinst < prev    next >
Encoding:
Text File  |  2009-10-15  |  651 b   |  32 lines

  1. #!/bin/sh
  2. #
  3. # This is the postinst script for the Debian GNU/Linux bc package
  4. #
  5. # Written by John G. Hasler  
  6. # Previous versions written by Dirk Eddelbuettel, Bill Mitchell, 
  7. # Austin Donnelly and James Troup
  8.  
  9. set -e
  10.  
  11. # Automatically added by dh_installmenu
  12. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  13.     update-menus
  14. fi
  15. # End automatically added section
  16.  
  17.  
  18. case "$1" in
  19.     configure)
  20.         if [ -x "`which update-menus 2>/dev/null`" ]; then
  21.                 update-menus
  22.         fi
  23.     ;;
  24.         abort-remove|abort-deconfigure|abort-upgrade)
  25.             # Nothing to undo
  26.     ;;
  27.  
  28.     *)
  29.     echo "postinst called with unknown argument \`$1'" >&2
  30.     ;;
  31. esac
  32.